// 服务器端口
exports.serverPort = 7081;
// 元数据存放目录，须存在，不会自动创建
exports.metaDir = "/Users/maximus/var/meta2/";
// 主要的 MongoDB，必须有
exports.mainMongoUrl = "mongodb://localhost:27017/fcms";
// MySQL 数据库，必须有
exports.mysql = {
    host: '127.0.0.1',
    user: 'root',
    password: 'root',
    database: 'fcms'
};
// Cookie 加密KEY，可不修改
exports.cookieKey = "agasENIgshagwHPAGSvabghaGHKGEGEHIO";
// 用户登录过期时间，可不修改
exports.sessionExpireAtServer = 1000 * 60 * 60 * 24 * 15; // 15 day
// 服务器端 Jade 模板路径，修改为“项目根目录/build/server/jade”
exports.serverJadePath = "/Users/maximus/dev/codes/FCMS/build/server/jade";
// 邮件配置问管理员
exports.serviceMail = 'xxx';
exports.serviceMailPass = 'xxx';
// 短信配置问管理员
exports.sms = {
    url: 'xxx',
    username: 'JSM41215',
    password: 'xxx',
    veryCode: 'xxx',
    template: 'xxx'
};
// 初始服务器列表，backend 是管理后台
exports.initServers = [
    {host: "localhost:7081", app: 'backend'}
];
// 上传文件临时存放目录，必须存在，不会自动创建
exports.uploadPath = "/Users/maximus/var/fcms_upload/";
// HTTP Body 最大尺寸（字节）
exports.httpBodyMaxFieldsSize = 6 * 1024 * 1024;
// 上传文件的正式存放目录
exports.fileDir = "/Users/maximus/var/fcms_file/";
exports.fileDownloadPrefix = "/r/";
exports.adminUI = {
    title: "FCMS 统一后台",
};

exports.elasticSearchEndpoint = "http://localhost:9200/";

exports.logs = {
    promotion: {
        name: "promotion",
        level: "debug",
        streams: [{
            type: 'rotating-file',
            path: "fcms_log/promotion.log",
            period: '1d',
            count: 100 // keep 100 copies
        }]
    }
};

exports.pay = {
    weixin: {APP_ID: '', APISecret: '', mch_id: '', ourCallbackUrl: ''}
};